package org.jeecg.modules.zcglsupplies.service.impl;

import org.jeecg.modules.zcglsupplies.entity.ZcglSupplies;
import org.jeecg.modules.zcglsupplies.mapper.ZcglSuppliesMapper;
import org.jeecg.modules.zcglsupplies.service.IZcglSuppliesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 物资档案
 * @Author: jeecg-boot
 * @Date:   2022-10-27
 * @Version: V1.0
 */
@Service
public class ZcglSuppliesServiceImpl extends ServiceImpl<ZcglSuppliesMapper, ZcglSupplies> implements IZcglSuppliesService {

    @Autowired
    ZcglSuppliesMapper zcglSuppliesMapper;

    @Override
    public int getTypeCount(String type) {
        return zcglSuppliesMapper.getTypeCount(type);
    }
}
